package com.wchat.bean.entity;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * (Groups)实体类
 *
 * @author makejava
 * @since 2021-08-27 09:38:29
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Groups implements Serializable {
    private static final long serialVersionUID = 712527026924516094L;

    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 群组名
     */
    private String name;
    /**
     * 群头像
     */
    private String avatar;
    /**
     * 群备注
     */
    private String remark;

    private Date created;

    private Date updated;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

}
